<?php
require_once(dirname(__FILE__).'/system.php');
extract($SYSTEMCONFIG);
$TemplateSuffix = ".html";
$CMSVersion = ''; 
$CMSWithin = '031702';
$CMSUpDate = '2010-08-16'; 
$Charset = 'utf-8'; 
$Webtemplates = "blueclassic,blueclassic,default,default,default,default,default,default,default,default,default,default,default,default,default,default,default,default,default,default"; 
$Webtemplates = explode(',',$Webtemplates); 
header("Content-type: text/html; charset={$Charset}"); 
if(PHP_VERSION > '5.1'){ 
	@date_default_timezone_set('Asia/Shanghai');  
}
error_reporting(E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR); 
$WebLangName = explode(',',$WebLangName);
if(!defined('SONGCMSROOT')) define('SONGCMSROOT','./');
$CodeList = SONGCMSROOT . 'code/'; 
$Delimiter = array('{sc:','#}'); 
if (!get_magic_quotes_gpc()) {
	Add_S($_POST);
	Add_S($_GET);
}
function Add_S(&$array){
	if (is_array($array)){
		foreach ($array as $key => $value) {
			if (!is_array($value)) {
				$array[$key] = addslashes($value);
			} else {
				Add_S($array[$key]);
			}
		}
	}
} 
?>